package com.ygqh.baby.po;

import java.util.Date;

import com.ygqh.baby.ao.DataStatus;

public class YgUserLog {
	private Long id;

	private Long userId;

	private String operation;

	private String description;

	private Date createTime;

	private String createBy;

	private DataStatus status;

	private String remark;

	public YgUserLog() {
		super();
	}

	public YgUserLog(Long userId, String operation, String description, String createBy, Date createTime, String remark) {
		super();
		this.userId = userId;
		this.operation = operation;
		this.description = description;
		this.createBy = createBy;
		this.remark = remark;
		this.status = DataStatus.Valid;
		this.createTime = createTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getOperation() {
		return operation;
	}

	public void setOperation(String operation) {
		this.operation = operation == null ? null : operation.trim();
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description == null ? null : description.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy == null ? null : createBy.trim();
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}
}